/*
 * 员工信息
 */
Ext.onRead(function() {
	Ext.lib.Ajax.defaultPostHeader += '; charset=utf-8';// 处理ie提交中文乱码问题
	// 定义一个checkBox
	var sm = new Ext.grid.CheckboxSelectionModel({
				singleSelect : true
			});
	// 选中记录是否高亮
	sm.handleMouseDown = Ext.emptyFn;
	// 定义一个grid的列
	var cm = new Ext.grid.ColumnModel([sm, {
				header : 'pid',
				dataIndex : 'idt_person'
			}, {
				header : '姓名',
				dataIndex : 'pname'
			}, {
				header : '性别',
				dataIndex : 'sex'
			}, {
				header : '身份证',
				dataIndex : 'IDCARD'
			}, {
				header : '学历',
				dataIndex : 'SchoolAge'
			}, {
				header : '联系电话',
				dataIndex : 'TELPHONE'
			}, {
				header : '家庭住址',
				dataIndex : 'ADDRESS'
			}, {
				header : '所在部门',
				dataIndex : 'uid'
			}, {
				header : '进入本单位日期',
				dataIndex : 'enter_date'
			}, {
				header : '计划任务',
				dataIndex : 'plan_sale'
			}, {
				header : '在职状态',
				dataIndex : 'state'
			}, {
				header : '职务',
				dataIndex : 'position'
			}, {
				header : '出生年月',
				dataIndex : 'birthday'
			}, {
				header : '民族',
				dataIndex : 'nation'
			}, {
				header : '户籍',
				dataIndex : 'records'
			}, {
				header : '学历',
				dataIndex : 'place'
			}, {
				header : '毕业时间',
				dataIndex : 'graduate'
			}, {
				header : '参加工作时间',
				dataIndex : 'worktime'
			}, {
				header : '政治面貌',
				dataIndex : 'polity'
			}, {
				header : '通讯地址',
				dataIndex : 'communiadd'
			}, {
				header : '住址邮编',
				dataIndex : 'addpostcode'
			}, {
				header : '住宅地址',
				dataIndex : 'domicile'
			}, {
				header : '手机',
				dataIndex : 'mobilp'
			}, {
				header : '紧急电话',
				dataIndex : 'instaphone'
			}, {
				header : '正式期上班时间',
				dataIndex : 'workingtime'
			}, {
				header : '学习时间1',
				dataIndex : 'studytime1'
			}, {
				header : '学校1',
				dataIndex : 'school1'
			}, {
				header : '专业1',
				dataIndex : 'specialty1'
			}, {
				header : '资格1',
				dataIndex : 'qualification1'
			}, {
				header : '取得时间1',
				dataIndex : 'gaintime1'
			}, {
				header : '学习时间2',
				dataIndex : 'studytime2'
			}, {
				header : '学校2',
				dataIndex : 'school2'
			}, {
				header : '专业2',
				dataIndex : 'specialty2'
			}, {
				header : '资格2',
				dataIndex : 'qualification2'
			}, {
				header : '取得时间2',
				dataIndex : 'gaintime2'
			}, {
				header : '学习时间3',
				dataIndex : 'studytime3'
			}, {
				header : '学校3',
				dataIndex : 'school3'
			}, {
				header : '专业3',
				dataIndex : 'specialty3'
			}, {
				header : '资格3',
				dataIndex : 'qualification3'
			}, {
				header : '取得时间3',
				dataIndex : 'gaintime3'
			}, {
				header : '学历',
				dataIndex : 'worktime1'
			}, {
				header : '学历',
				dataIndex : 'workunit1'
			}, {
				header : '学历',
				dataIndex : 'post1'
			}, {
				header : '学历',
				dataIndex : 'title1'
			}, {
				header : '工作经历时间1',
				dataIndex : 'wgaintime1'
			}, {
				header : '工作单位1',
				dataIndex : 'worktime2'
			}, {
				header : '工作经历时间2',
				dataIndex : 'workunit2'
			}, {
				header : '岗位',
				dataIndex : 'post2'
			}, {
				header : '职称',
				dataIndex : 'title2'
			}, {
				header : '工作经历时间2',
				dataIndex : 'wgaintime2'
			}, {
				header : '工作单位2',
				dataIndex : 'worktime3'
			}, {
				header : '学历',
				dataIndex : 'workunit3'
			}, {
				header : '学历',
				dataIndex : 'post3'
			}, {
				header : '学历',
				dataIndex : 'title3'
			}, {
				header : '学历',
				dataIndex : 'wgaintime3'
			}, {
				header : '学历',
				dataIndex : 'familymember1'
			}, {
				header : '学历',
				dataIndex : 'familymember2'
			}, {
				header : '学历',
				dataIndex : 'familymember3'
			}

	])
		/*
		 * <result column="idt_person" property="idt_person"
		 * jdbcType="INTEGER"/> <result column="pname" property="pname"
		 * jdbcType="VARCHAR" /> <result column="SEX" property="sex"
		 * jdbcType="VARCHAR" /> <result column="IDCARD" property="idcard"
		 * jdbcType="VARCHAR" /> <result column="SchoolAge" property="schoolage"
		 * jdbcType="VARCHAR" /> <result column="TELPHONE" property="telphone"
		 * jdbcType="VARCHAR" /> <result column="ADDRESS" property="address"
		 * jdbcType="VARCHAR" /> <result column="UID" property="uid"
		 * jdbcType="INTEGER" /> <result column="ENTER_DATE"
		 * property="enterDate" jdbcType="TIMESTAMP" /> <result
		 * column="PLAN_SALE" property="planSale" jdbcType="DECIMAL" /> <result
		 * column="STATE" property="state" jdbcType="SMALLINT" /> <result
		 * column="POSITION" property="position" jdbcType="VARCHAR" /> <result
		 * column="BirthDay" property="birthday" jdbcType="TIMESTAMP" /> <result
		 * column="Nation" property="nation" jdbcType="VARCHAR" /> <result
		 * column="records" property="records" jdbcType="VARCHAR" /> <result
		 * column="place" property="place" jdbcType="VARCHAR" /> <result
		 * column="graduate" property="graduate" jdbcType="TIMESTAMP" /> <result
		 * column="Worktime" property="worktime" jdbcType="TIMESTAMP" /> <result
		 * column="polity" property="polity" jdbcType="VARCHAR" /> <result
		 * column="communiAdd" property="communiadd" jdbcType="VARCHAR" />
		 * <result column="AddPostcode" property="addpostcode"
		 * jdbcType="VARCHAR" /> <result column="Domicile" property="domicile"
		 * jdbcType="VARCHAR" /> <result column="MobilP" property="mobilp"
		 * jdbcType="VARCHAR" /> <result column="InstaPhone"
		 * property="instaphone" jdbcType="VARCHAR" /> <result
		 * column="workingtime" property="workingtime" jdbcType="TIMESTAMP" />
		 * <result column="studyTime1" property="studytime1" jdbcType="VARCHAR" />
		 * <result column="School1" property="school1" jdbcType="VARCHAR" />
		 * <result column="specialty1" property="specialty1" jdbcType="VARCHAR" />
		 * <result column="Qualification1" property="qualification1"
		 * jdbcType="VARCHAR" /> <result column="GainTime1" property="gaintime1"
		 * jdbcType="VARCHAR" /> <result column="studyTime2"
		 * property="studytime2" jdbcType="VARCHAR" /> <result column="School2"
		 * property="school2" jdbcType="VARCHAR" /> <result column="specialty2"
		 * property="specialty2" jdbcType="VARCHAR" /> <result
		 * column="Qualification2" property="qualification2" jdbcType="VARCHAR" />
		 * <result column="GainTime2" property="gaintime2" jdbcType="VARCHAR" />
		 * <result column="studyTime3" property="studytime3" jdbcType="VARCHAR" />
		 * <result column="School3" property="school3" jdbcType="VARCHAR" />
		 * <result column="specialty3" property="specialty3" jdbcType="VARCHAR" />
		 * <result column="Qualification3" property="qualification3"
		 * jdbcType="VARCHAR" /> <result column="GainTime3" property="gaintime3"
		 * jdbcType="VARCHAR" /> <result column="WorkTime1" property="worktime1"
		 * jdbcType="VARCHAR" /> <result column="WorkUnit1" property="workunit1"
		 * jdbcType="VARCHAR" /> <result column="Post1" property="post1"
		 * jdbcType="VARCHAR" /> <result column="Title1" property="title1"
		 * jdbcType="VARCHAR" /> <result column="wGainTime1"
		 * property="wgaintime1" jdbcType="VARCHAR" /> <result
		 * column="WorkTime2" property="worktime2" jdbcType="VARCHAR" /> <result
		 * column="WorkUnit2" property="workunit2" jdbcType="VARCHAR" /> <result
		 * column="Post2" property="post2" jdbcType="VARCHAR" /> <result
		 * column="Title2" property="title2" jdbcType="VARCHAR" /> <result
		 * column="wGainTime2" property="wgaintime2" jdbcType="VARCHAR" />
		 * <result column="WorkTime3" property="worktime3" jdbcType="VARCHAR" />
		 * <result column="WorkUnit3" property="workunit3" jdbcType="VARCHAR" />
		 * <result column="Post3" property="post3" jdbcType="VARCHAR" /> <result
		 * column="Title3" property="title3" jdbcType="VARCHAR" /> <result
		 * column="wGainTime3" property="wgaintime3" jdbcType="VARCHAR" />
		 * <result column="FamilyMember1" property="familymember1"
		 * jdbcType="VARCHAR" /> <result column="FamilyMember2"
		 * property="familymember2" jdbcType="VARCHAR" /> <result
		 * column="FamilyMember3" property="familymember3" jdbcType="VARCHAR" />
		 */

	});